/**
 * <p>Title: AreaInCity.java</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2009</p>
 * <p>Company: xunjie</p>
 * @author shenhao
 * @date 2010-3-9
 * @version 1.0
 */
package cn.haona.game.simb.object.geo;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;

import sun.security.action.GetLongAction;

import cn.haona.db.RelevanceBean;
import cn.haona.game.simb.object.Persistence;
import cn.haona.game.simb.object.PersistenceImpl;
import cn.haona.game.simb.object.bio.User;
import cn.haona.game.simb.object.bio.User.UserPO;
import cn.haona.game.simb.object.department.HAB;
import cn.haona.game.simb.object.god.MainManager;
import cn.haona.game.simb.object.item.building.Washshop;
import cn.haona.game.simb.object.team.FightTeamFighterOrg;

/**
 * <p>
 * Title: AreaInCity
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Company: xunjie
 * </p>
 * 
 * @author shenhao
 * @date 2010-3-9
 */
public class StreetInCity extends GeoImpl
{
	/**
	 * 
	 */
	public StreetInCity()
	{
		// TODO Auto-generated constructor stub
	}

	/*
	 * (non-Javadoc) <p>Title: initPO</p> <p>Description: </p>
	 * 
	 * @see cn.haona.game.simb.Cell#initPO()
	 */
	public void initPO()
	{
		if (pO == null)
		{
			pO = new StreetInCityPO();
		}
	}


	/**
	 * 
	 * @author Administrator
	 * 
	 */
	public class StreetInCityPO extends PersistenceImpl
	{
		private City city;

		//得到主键名
		public String getPrimaryKeyName()
		{
			return "";
		}
		
		public boolean persisMe() {
			// TODO Auto-generated method stub
			return false;
		}
		
		public Long persisMeFirstTime()
		{
			// TODO Auto-generated method stub
			return -1L;
		}

		public Persistence updateMe()
		{
			// TODO Auto-generated method stub
			return null;
		}

		public boolean cacheMe()
		{
			// TODO Auto-generated method stub
			return false;
		}


		public long getID()
		{

			return id;
		}

		public void setID(long id)
		{
			this.id = id;
		}

		public City getCity()
		{
			return city;
		}

		public void setCity(City city)
		{
			this.city = city;
		}

		/**
		 * 特定街道总共多少洗车店
		 * 
		 * @param id
		 * @return
		 */
		public int getWashshopCountByID(long id)
		{
			return 0;
		}

		public List<Washshop> getWashshopByID(long id, int pageIndex, int pageSize)
		{
			return null;
		}

		public Timestamp getAddedDate()
		{
			// TODO Auto-generated method stub
			return null;
		}

		public Integer getStatus()
		{
			// TODO Auto-generated method stub
			return 0;
		}

		public Timestamp getUpDateDate()
		{
			// TODO Auto-generated method stub
			return null;
		}

		public void setAddedDate(Timestamp date)
		{
			// TODO Auto-generated method stub

		}

		public void setStatus(Integer status)
		{
			// TODO Auto-generated method stub

		}

		public void setUpDateDate(Timestamp date)
		{
			// TODO Auto-generated method stub

		}

		public HashMap<String, RelevanceBean> getReflectRelevance() {
			// TODO Auto-generated method stub
			return null;
		}

	}

}
